/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.gui;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import com.metier.UsersMetier;

/**
 *
 * @author Mamadou
 */
public class FenAjoutUser extends javax.swing.JPanel {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8374884646244364453L;
	private String valeureSelectionné;

    /**
     * Creates new form FenAjoutUser
     */
    public FenAjoutUser() {
    	userMetier=new UsersMetier();
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jPanel1 = new javax.swing.JPanel();
        jLabel7 = new javax.swing.JLabel();
        jPanel2 = new javax.swing.JPanel();
        jLabelNomUser = new javax.swing.JLabel();
        textPrenomUser = new javax.swing.JTextField();
        LabelNomUser = new javax.swing.JLabel();
        textNomUser = new javax.swing.JTextField();
        jLabel1 = new javax.swing.JLabel();
        textLogin = new javax.swing.JTextField();
        LabelPassword = new javax.swing.JLabel();
        jLabel2 = new javax.swing.JLabel();
        textEmail = new javax.swing.JTextField();
        jLabel3 = new javax.swing.JLabel();
        textPhoneUser = new javax.swing.JTextField();
        jLabelProfil = new javax.swing.JLabel();
        jLabel4 = new javax.swing.JLabel();
        jScrollPane1 = new javax.swing.JScrollPane();
        textAreaAdresse = new javax.swing.JTextArea();
        comboProfil = new javax.swing.JComboBox();
        textPasswordUser = new javax.swing.JPasswordField();
        PanelDroit = new javax.swing.JPanel();
        jLabel5 = new javax.swing.JLabel();
        jLabel6 = new javax.swing.JLabel();
        PanelBas = new javax.swing.JPanel();
        boutonValider = new javax.swing.JButton();
        boutonAnnuler = new javax.swing.JButton();
        

        setBackground(new java.awt.Color(223, 242, 255));
        setPreferredSize(new java.awt.Dimension(746, 454));

        jPanel1.setBackground(new java.awt.Color(223, 242, 255));
        jPanel1.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(102, 153, 255)));

        jLabel7.setBackground(new java.awt.Color(223, 242, 255));
        jLabel7.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        jLabel7.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel7.setText("veillez saisir les informations suivantes");

        javax.swing.GroupLayout jPanel1Layout = new javax.swing.GroupLayout(jPanel1);
        jPanel1.setLayout(jPanel1Layout);
        jPanel1Layout.setHorizontalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel1Layout.createSequentialGroup()
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addComponent(jLabel7, javax.swing.GroupLayout.PREFERRED_SIZE, 511, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(132, 132, 132))
        );
        jPanel1Layout.setVerticalGroup(
            jPanel1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(jLabel7, javax.swing.GroupLayout.DEFAULT_SIZE, 42, Short.MAX_VALUE)
        );

        jPanel2.setBackground(new java.awt.Color(223, 242, 255));
        jPanel2.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(102, 153, 255)));
        jPanel2.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N

        jLabelNomUser.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        jLabelNomUser.setText("Prenom");

        textPrenomUser.setBackground(new java.awt.Color(223, 242, 255));
        textPrenomUser.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        textPrenomUser.setText("votre prénom");

        LabelNomUser.setBackground(new java.awt.Color(223, 242, 255));
        LabelNomUser.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        LabelNomUser.setText("Nom");

        textNomUser.setBackground(new java.awt.Color(223, 242, 255));
        textNomUser.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        textNomUser.setText("Nom");

        jLabel1.setBackground(new java.awt.Color(223, 242, 255));
        jLabel1.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        jLabel1.setText("Login");

        textLogin.setBackground(new java.awt.Color(223, 242, 255));
        textLogin.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        textLogin.setText("login");

        LabelPassword.setBackground(new java.awt.Color(223, 242, 255));
        LabelPassword.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        LabelPassword.setText("Password");

        jLabel2.setBackground(new java.awt.Color(223, 242, 255));
        jLabel2.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        jLabel2.setText("Email");

        textEmail.setBackground(new java.awt.Color(223, 242, 255));
        textEmail.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        textEmail.setText("email");

        jLabel3.setBackground(new java.awt.Color(223, 242, 255));
        jLabel3.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        jLabel3.setText("Phone");

        textPhoneUser.setBackground(new java.awt.Color(223, 242, 255));
        textPhoneUser.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        textPhoneUser.setText("+221338345574");

        jLabelProfil.setBackground(new java.awt.Color(223, 242, 255));
        jLabelProfil.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        jLabelProfil.setText("Profil");

        jLabel4.setBackground(new java.awt.Color(223, 242, 255));
        jLabel4.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        jLabel4.setText("Adresse");

        textAreaAdresse.setBackground(new java.awt.Color(223, 242, 255));
        textAreaAdresse.setColumns(20);
        textAreaAdresse.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        textAreaAdresse.setRows(5);
        jScrollPane1.setViewportView(textAreaAdresse);

        comboProfil.setBackground(new java.awt.Color(223, 242, 255));
        comboProfil.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        comboProfil.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Administrateur", "Consultant", "Agent Commercial", "Comptable", " " }));

        textPasswordUser.setBackground(new java.awt.Color(223, 242, 255));
        textPasswordUser.setText("passer");
        comboProfil.addActionListener(new ActionListener() {
			
			
			public void actionPerformed(ActionEvent e) {
				// TODO Auto-generated method stub
				Object source = comboProfil.getSelectedItem();
				valeureSelectionné = (String) source;
				
			}
		});

        javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
        jPanel2.setLayout(jPanel2Layout);
        jPanel2Layout.setHorizontalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGap(26, 26, 26)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jLabel4, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabelProfil, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(LabelPassword, javax.swing.GroupLayout.DEFAULT_SIZE, 101, Short.MAX_VALUE)
                    .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(LabelNomUser, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabelNomUser, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(46, 46, 46)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(textPrenomUser)
                    .addComponent(textNomUser)
                    .addComponent(textLogin)
                    .addComponent(textEmail)
                    .addComponent(textPhoneUser)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                    .addComponent(comboProfil, 0, 196, Short.MAX_VALUE)
                    .addComponent(textPasswordUser))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        jPanel2Layout.setVerticalGroup(
            jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jPanel2Layout.createSequentialGroup()
                .addGap(19, 19, 19)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(jLabelNomUser, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(textPrenomUser, javax.swing.GroupLayout.PREFERRED_SIZE, 30, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(textNomUser, javax.swing.GroupLayout.DEFAULT_SIZE, 32, Short.MAX_VALUE)
                    .addComponent(LabelNomUser, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jLabel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(textLogin, javax.swing.GroupLayout.DEFAULT_SIZE, 32, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(LabelPassword, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(textPasswordUser, javax.swing.GroupLayout.DEFAULT_SIZE, 32, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jLabel2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(textEmail, javax.swing.GroupLayout.DEFAULT_SIZE, 32, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jLabel3, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(textPhoneUser, javax.swing.GroupLayout.DEFAULT_SIZE, 32, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jLabelProfil, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(comboProfil, javax.swing.GroupLayout.DEFAULT_SIZE, 32, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(jLabel4, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 64, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );

        PanelDroit.setBackground(new java.awt.Color(223, 242, 255));
        PanelDroit.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(102, 153, 255)));

        jLabel5.setIcon(new javax.swing.ImageIcon(getClass().getResource("/com/photos/profil.gif"))); // NOI18N

        jLabel6.setBackground(new java.awt.Color(223, 242, 255));
        jLabel6.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        jLabel6.setHorizontalAlignment(javax.swing.SwingConstants.CENTER);
        jLabel6.setText("Photo de Profil");

        javax.swing.GroupLayout PanelDroitLayout = new javax.swing.GroupLayout(PanelDroit);
        PanelDroit.setLayout(PanelDroitLayout);
        PanelDroitLayout.setHorizontalGroup(
            PanelDroitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, PanelDroitLayout.createSequentialGroup()
                .addContainerGap(67, Short.MAX_VALUE)
                .addGroup(PanelDroitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jLabel6, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(21, 21, 21))
        );
        PanelDroitLayout.setVerticalGroup(
            PanelDroitLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelDroitLayout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel5)
                .addGap(18, 18, 18)
                .addComponent(jLabel6, javax.swing.GroupLayout.PREFERRED_SIZE, 32, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(117, Short.MAX_VALUE))
        );
      

        PanelBas.setBackground(new java.awt.Color(223, 242, 255));
        PanelBas.setBorder(javax.swing.BorderFactory.createMatteBorder(1, 1, 1, 1, new java.awt.Color(102, 153, 255)));

        boutonValider.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        boutonValider.setText("Valider");

        boutonAnnuler.setBackground(new java.awt.Color(223, 242, 255));
        boutonAnnuler.setFont(new java.awt.Font("Verdana", 3, 14)); // NOI18N
        boutonAnnuler.setText("Annuler");

        javax.swing.GroupLayout PanelBasLayout = new javax.swing.GroupLayout(PanelBas);
        PanelBas.setLayout(PanelBasLayout);
        PanelBasLayout.setHorizontalGroup(
            PanelBasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(PanelBasLayout.createSequentialGroup()
                .addGap(196, 196, 196)
                .addComponent(boutonValider, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(130, 130, 130)
                .addComponent(boutonAnnuler, javax.swing.GroupLayout.PREFERRED_SIZE, 100, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
        );
        PanelBasLayout.setVerticalGroup(
            PanelBasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, PanelBasLayout.createSequentialGroup()
                .addGap(0, 0, Short.MAX_VALUE)
                .addGroup(PanelBasLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(boutonValider)
                    .addComponent(boutonAnnuler)))
        );
        boutonValider.addActionListener(new ActionListener() {
			
			
			public void actionPerformed(ActionEvent e) {
				userMetier.addUsersMetier(textNomUser.getText(), textPrenomUser.getText(), textLogin.getText(), textEmail.getText(), textPasswordUser.getText(), textPhoneUser.getText(),valeureSelectionné,textAreaAdresse.getText());
				
				
			}
		});
        boutonAnnuler.addActionListener(new ActionListener() {
			
			
			public void actionPerformed(ActionEvent arg0) {
			textNomUser.setText(" ");
			textPrenomUser.setText(" ");
			textLogin.setText(" ");
			textPasswordUser.setText(" ");
			textEmail.setText(" ");
			textPhoneUser.setText(" ");
			textAreaAdresse.setText(" ");
			
				
			}
		});

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(105, 105, 105)
                        .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(PanelDroit, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                    .addComponent(jPanel1, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(PanelBas, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGap(4, 4, 4))
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGap(7, 7, 7)
                .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(jPanel2, javax.swing.GroupLayout.PREFERRED_SIZE, 0, Short.MAX_VALUE)
                    .addComponent(PanelDroit, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(PanelBas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(23, Short.MAX_VALUE))
        );
    }// </editor-fold>//GEN-END:initComponents
    public javax.swing.JTextField getTextNomUser() {
		return textNomUser;
	}

	public void setTextNomUser(javax.swing.JTextField textNomUser) {
		this.textNomUser = textNomUser;
	}

	public javax.swing.JTextField getTextPrenomUser() {
		return textPrenomUser;
	}

	public void setTextPrenomUser(javax.swing.JTextField textPrenomUser) {
		this.textPrenomUser = textPrenomUser;
	}

	public javax.swing.JComboBox getComboProfil() {
		return comboProfil;
	}

	public void setComboProfil(javax.swing.JComboBox comboProfil) {
		this.comboProfil = comboProfil;
	}

	public javax.swing.JPasswordField getTextPasswordUser() {
		return textPasswordUser;
	}

	public void setTextPasswordUser(javax.swing.JPasswordField textPasswordUser) {
		this.textPasswordUser = textPasswordUser;
	}

	public javax.swing.JTextArea getTextAreaAdresse() {
		return textAreaAdresse;
	}

	public void setTextAreaAdresse(javax.swing.JTextArea textAreaAdresse) {
		this.textAreaAdresse = textAreaAdresse;
	}

	public javax.swing.JTextField getTextLogin() {
		return textLogin;
	}

	public void setTextLogin(javax.swing.JTextField textLogin) {
		this.textLogin = textLogin;
	}

	public javax.swing.JTextField getTextEmail() {
		return textEmail;
	}

	public void setTextEmail(javax.swing.JTextField textEmail) {
		this.textEmail = textEmail;
	}

	public javax.swing.JTextField getTextPhoneUser() {
		return textPhoneUser;
	}

	public void setTextPhoneUser(javax.swing.JTextField textPhoneUser) {
		this.textPhoneUser = textPhoneUser;
	}
	// Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton boutonAnnuler;
    private javax.swing.JLabel LabelNomUser;
    private javax.swing.JLabel LabelPassword;
    private javax.swing.JPanel PanelBas;
    private javax.swing.JPanel PanelDroit;
    private javax.swing.JTextField textNomUser;
    private javax.swing.JTextField textPrenomUser;
    private javax.swing.JComboBox comboProfil;
    private javax.swing.JLabel jLabel1;
    private javax.swing.JLabel jLabel2;
    private javax.swing.JLabel jLabel3;
    private javax.swing.JLabel jLabel4;
    private javax.swing.JLabel jLabel5;
    private javax.swing.JLabel jLabel6;
    private javax.swing.JLabel jLabel7;
    private javax.swing.JLabel jLabelNomUser;
    private javax.swing.JLabel jLabelProfil;
    private javax.swing.JPanel jPanel1;
    private javax.swing.JPanel jPanel2;
    private javax.swing.JPasswordField textPasswordUser;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JTextArea textAreaAdresse;
    private javax.swing.JTextField textLogin;
    private javax.swing.JTextField textEmail;
    private javax.swing.JTextField textPhoneUser;
    private javax.swing.JButton boutonValider;
    private UsersMetier userMetier;
    // End of variables declaration//GEN-END:variables
}
